import React, {Component} from 'react';
class Menu extends Component {
    constructor(props) {
        super(props);
        // 设置 initial state
        this.state = {
            userInfo: {}
        };
    }
    render() {
        return (
            <aside className="main-sidebar">
                <section className="sidebar">
                    <div className="user-panel">
                        <div className="pull-left image">
                            <img
                                src="http://localhost/userAvatar/1a02018c-839d-4fe9-bc5d-6547932d90a8.png"
                                className="img-circle"
                                alt="User Image"/>
                        </div>
                        <div className="pull-left info">
                            <p>刘东坡</p>
                            <a href="#">
                                <i className="fa fa-circle text-success"></i>
                                Online</a>
                        </div>
                    </div>
                    <ul className="sidebar-menu">
                        <li className="header">问卷调查后台管理</li>
                        <li className="treeview">
                            <a href="http://localhost:8080/#/AddQuestionnaire">
                                <i className="fa fa-files-o"></i>
                                <span>新增问卷</span>
                                <span className="pull-right-container">
                                    <small className="label pull-right bg-green">new</small>
                                </span>
                            </a>
                            
                        </li>
                        <li>
                            <a href="http://localhost:8080/#/ModifyQuestionnaire">
                                <i className="fa fa-th"></i>
                                <span>修改问卷</span>
                                <span className="pull-right-container">
                                    <small className="label pull-right bg-green">modify</small>
                                </span>
                            </a>
                        </li>
                    
                     
                     
                     
                        <li>
                            <a href="http://localhost:8080/#/ViewAnswers">
                                <i className="fa fa-calendar"></i>
                                <span>查看答案</span>
                                <span className="pull-right-container">
                                    <small className="label pull-right bg-blue">Answer</small>
                                </span>
                            </a>
                        </li>
                    </ul>
                </section>
            </aside>
        )
    }
}
export default Menu;
